import Vue from 'vue';
import Vuex from 'vuex';
import state from './state';
import mutations from './mutations';
import GeneralizeNav from './modules/generalize-nav';
import AccountRemain from './modules/account-remain';
Vue.use(Vuex);
export default new Vuex.Store({
  state,
  mutations,
  modules: {
    // 推广-左侧导航
    GeneralizeNav,
    // 账户余额
    AccountRemain
  }
});